package com.healthtop.utils;

import lombok.Data;

/**
 * * 椿熙堂信息研发部
 * Author: 道长 on 2016/11/9.
 */
@Data
public class AjaxResponseStatus<T> {

    private int statusCode;

    private String message;

    private T result;

    public AjaxResponseStatus(){
        this.statusCode = 200;
        this.message = "获取数据成功";
    }

    public AjaxResponseStatus(int statusCode, String message){
        this.statusCode = statusCode;
        this.message = message;
    }

}
